ECHO parameter=%1
CD %1
CD bin
cd release
mkdir CompiledRelease
copy "UI.exe" "CompiledRelease\MinecraftSMS.exe"
"C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" /out:"CompiledRelease\MinecraftSMS.exe" /targetplatform:v4,"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client" UI.exe Ionic.Zip.Reduced.dll SplitButton.dll Framework.dll
del "CompiledRelease\MinecraftSMS.pdb"
pause